PKG_NAME:=gperftools
PKG_VERSION:=2.17.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/gperftools/gperftools/tar.gz/$(PKG_NAME)-$(PKG_VERSION)?
include $(INCLUDE_DIR)/package.mk
-define Package/gperftools-headers
- CATEGORY:=Libraries
- SECTION:=libs
- TITLE:=Gperftools Headers
- URL:=https://github.com/gperftools/gperftools
- DEPENDS:= @!(powerpc)
-endef
-
-define Package/gperftools-runtime
+define Package/gperftools
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Gperftools Runtime
URL:=https://github.com/gperftools/gperftools
DEPENDS:=+PACKAGE_libunwind:libunwind +libstdcpp @!(powerpc)
+ ABI_VERSION:=4
endef
-define Package/gperftools-headers/description
- Gperftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.
- This package contains the headers.
-endef
-
-define Package/gperftools-runtime/description
+define Package/gperftools/description
Gperftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.
- This package contains the shared objects and bins.
+ This package contains the shared libraries.
endef
CONFIGURE_ARGS += \
$(CP) $(PKG_INSTALL_DIR)/usr/include/gperftools/*.h $(1)/usr/include/gperftools/
endef
-define Package/gperftools-headers/install
- $(INSTALL_DIR) $(1)/usr/include/gperftools
- $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/gperftools/tcmalloc.h $(1)/usr/include/gperftools
-endef
-
-define Package/gperftools-runtime/install
+define Package/gperftools/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtcmalloc.so* $(1)/usr/lib/
endef
-$(eval $(call BuildPackage,gperftools-headers))
-$(eval $(call BuildPackage,gperftools-runtime))
+
+$(eval $(call BuildPackage,gperftools))